Skip to content

Support for all arguments in make_zim_file() - #21

Merged
rgaudin merged 5 commits into
masterfrom
improved_make_zim_file
May 20, 2020
Merged

rgaudin merged 5 commits into
masterfrom
improved_make_zim_file

Conversation

@satyamtg

@satyamtg satyamtg commented May 17, 2020 •

Copy link
Copy Markdown
Contributor

Fixes #20 by making make_zim_file() take in kwargs which are passed to to_zimwriterfs_args(). Also, made it take the zimwriterfs binary location from the object of ZimInfo that's passed as it would allow to change it easily if required. Also added some docstrings regarding the arguments.

This one changes the API

@satyamtg
satyamtg requested a review from rgaudin May 17, 2020 18:33
@satyamtg satyamtg changed the title Fixes #20 - Better docstring and support for extended to_zimwriterfs_… Support for all arguments in make_zim_file() May 17, 2020
@satyamtg satyamtg self-assigned this May 17, 2020
Comment thread src/zimscraperlib/zim.py Resolved
Comment thread src/zimscraperlib/zim.py Resolved
Comment thread src/zimscraperlib/zim.py Resolved
@codecov

codecov Bot commented May 19, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #21   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           13        13           
  Lines          387       386    -1     
=========================================
- Hits           387       386    -1     
Impacted Files Coverage Δ
src/zimscraperlib/zim.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b390a3...b741342. Read the comment docs.

@satyamtg
satyamtg requested a review from rgaudin May 19, 2020 07:45

@rgaudin rgaudin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rgaudin
rgaudin merged commit 84925c9 into master May 20, 2020
@rgaudin
rgaudin deleted the improved_make_zim_file branch May 20, 2020 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

More flexible make_zim_file() in zim.py

2 participants